package com.rong.ORM;

import java.util.Date;

/**
 * ZynCarOil entity. @author MyEclipse Persistence Tools
 */

public class ZynCarOil implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer carId;
	private String price;
	private String amount;
	private Date mdate;
	private Double sum;
	private String place;
	private String person;
	private String extattr1;
	private String extattr2;
	private String extattr3;
	private String extattr4;
	private String extattr5;
	private Double extattrDb1;
	private Double extattrDb2;
	private Double extattrDb3;
	private Double extattrDb4;

	private ZynCar carinst;
	// Constructors

	/** default constructor */
	public ZynCarOil() {
	}

	/** full constructor */
	public ZynCarOil(Integer carId, String price, String amount, Date mdate,
			Double sum, String place, String person, String extattr1,
			String extattr2, String extattr3, String extattr4, String extattr5,
			Double extattrDb1, Double extattrDb2, Double extattrDb3,
			Double extattrDb4,ZynCar carinst) {
		this.carId = carId;
		this.price = price;
		this.amount = amount;
		this.mdate = mdate;
		this.sum = sum;
		this.place = place;
		this.person = person;
		this.extattr1 = extattr1;
		this.extattr2 = extattr2;
		this.extattr3 = extattr3;
		this.extattr4 = extattr4;
		this.extattr5 = extattr5;
		this.extattrDb1 = extattrDb1;
		this.extattrDb2 = extattrDb2;
		this.extattrDb3 = extattrDb3;
		this.extattrDb4 = extattrDb4;
		this.carinst = carinst;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getCarId() {
		return this.carId;
	}

	public void setCarId(Integer carId) {
		this.carId = carId;
	}

	public String getPrice() {
		return this.price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getAmount() {
		return this.amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public Date getMdate() {
		return this.mdate;
	}

	public void setMdate(Date mdate) {
		this.mdate = mdate;
	}

	public Double getSum() {
		return this.sum;
	}

	public void setSum(Double sum) {
		this.sum = sum;
	}

	public String getPlace() {
		return this.place;
	}

	public void setPlace(String place) {
		this.place = place;
	}

	public String getPerson() {
		return this.person;
	}

	public void setPerson(String person) {
		this.person = person;
	}

	public String getExtattr1() {
		return this.extattr1;
	}

	public void setExtattr1(String extattr1) {
		this.extattr1 = extattr1;
	}

	public String getExtattr2() {
		return this.extattr2;
	}

	public void setExtattr2(String extattr2) {
		this.extattr2 = extattr2;
	}

	public String getExtattr3() {
		return this.extattr3;
	}

	public void setExtattr3(String extattr3) {
		this.extattr3 = extattr3;
	}

	public String getExtattr4() {
		return this.extattr4;
	}

	public void setExtattr4(String extattr4) {
		this.extattr4 = extattr4;
	}

	public String getExtattr5() {
		return this.extattr5;
	}

	public void setExtattr5(String extattr5) {
		this.extattr5 = extattr5;
	}

	public Double getExtattrDb1() {
		return this.extattrDb1;
	}

	public void setExtattrDb1(Double extattrDb1) {
		this.extattrDb1 = extattrDb1;
	}

	public Double getExtattrDb2() {
		return this.extattrDb2;
	}

	public void setExtattrDb2(Double extattrDb2) {
		this.extattrDb2 = extattrDb2;
	}

	public Double getExtattrDb3() {
		return this.extattrDb3;
	}

	public void setExtattrDb3(Double extattrDb3) {
		this.extattrDb3 = extattrDb3;
	}

	public Double getExtattrDb4() {
		return this.extattrDb4;
	}

	public void setExtattrDb4(Double extattrDb4) {
		this.extattrDb4 = extattrDb4;
	}

	/**
	 * @return the carinst
	 */
	public ZynCar getCarinst() {
		return carinst;
	}

	/**
	 * @param carinst the carinst to set
	 */
	public void setCarinst(ZynCar carinst) {
		this.carinst = carinst;
	}

}